//
//  Goods.h
//  CYWFrame
//
//  Created by Macx on 2017/8/31.
//  Copyright © 2017年 Macx. All rights reserved.
//

#import "BaseModel.h"

#import "GoodsCate.h"
#import "Shop.h"

@interface Goods : BaseModel

@property (nonatomic, strong) NSString *details;
@property (nonatomic, assign) NSInteger goods_id;
@property (nonatomic, assign) NSInteger shop_id;
@property (nonatomic, assign) NSInteger comments_count;
@property (nonatomic, assign) NSInteger monthly_sales_count;
@property (nonatomic, assign) NSInteger price;
@property (nonatomic, assign) NSInteger mall_price;	//商城原始价格（被划掉的那个价格）
@property (nonatomic, assign) NSInteger cate_id;
@property (nonatomic, strong) NSArray *photo;
@property (nonatomic, strong) NSString *title;
@property (nonatomic, assign) NSInteger sold_num;
@property (nonatomic, assign) NSInteger quantity;
@property (nonatomic, strong) Shop *shop;
@property (nonatomic, strong) GoodsCate *cate;
@property (strong, nonatomic) NSArray *specs;
@property (strong, nonatomic) NSArray *skus;
@property (nonatomic, strong) NSString *collected;

//7天发货之类的标签
@property (strong, nonatomic) NSArray *tags_list;

//购物车里面每个商品选中的规格
@property (strong, nonatomic) NSArray *selectedSpecs;
@property (strong, nonatomic) NSDictionary *selectedSku;

//拼单相关的
@property (strong, nonatomic) NSString *is_ecbuy;
@property (strong, nonatomic) NSString *ecbuy_num;
@property (strong, nonatomic) NSString *ecbuy_price;
@property (strong, nonatomic) NSString *ecbuy_total;

// 商品左侧按钮是否选中
@property (nonatomic, assign) NSInteger product_is_choosed;// 购物车选择

@end
